package com.hsteach.web.controller.visit.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hsteach.dao.domain.visit.VisitPeers;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Description:
 * @Author: lx
 * @Date: 2024/3/7 15:19
 */


@ApiModel(value = "VisitReservationVO", description = "家访预约列表")
@Data
public class VisitReservationVO {

    /** id */
    private Long id;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date beginTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date endTime;

//    @ApiModelProperty(value = "家访名称")
//    private String visitName;

    @ApiModelProperty(value = "是否已经知晓")
    private Boolean isPass;

    @ApiModelProperty(value = "教师电话")
    private String teacherPhone;

    /** 取消原因 */
    private String reason;

    /**
     * 同行家访人员
     */
    List<VisitPeers> visitPeers;
}
